<html>
	<head>
		<meta charset="utf-8"></meta>
		<title>BListWidget</title>
		<link href="./style.css" rel="stylesheet" type="text/css"/>
	</head>
	<body>
		<div class="class" name="BListWidget">
			<h1>BListWidget</h1>
			<p>继承自<a href="BScrollArea.html">BScrollArea</a></p>
			<p id="resume"><a href="#desc">详细</a></p>
			<h2>public</h2>
			<table id="public">
				<tr><td align="right"></td><td><a href="#BListWidget(BWidget*)">BListWidget</a>(BWidget* parent = 0);</td></tr>
				<tr><td align="right"></td><td><a href="#BListWidget(const BString&,BWidget*)">BListWidget</a>(const BString& title, BWidget* parent = 0);</td></tr>
				<tr><td align="right"></td><td><a href="#~BListWidget()">~BListWidget</a>();</td></tr>
				<tr><td align="right">void </td><td><a href="#setOrientation(Orientation)">setOrientation</a>(Orientation orientation);</td></tr>
				<tr><td align="right">Orientation </td><td><a href="#orientation()">orientation</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setSelectMode(SelectMode)">setSelectMode</a>(SelectMode selectMode);</td></tr>
				<tr><td align="right">SelectMode </td><td><a href="#selectMode()">selectMode</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setItemSpacing(int)">setItemSpacing</a>(int itemSpacing);</td></tr>
				<tr><td align="right">int </td><td><a href="#itemSpacing()">itemSpacing</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setItemPolicy(Policy)">setItemPolicy</a>(Policy itemPolicy);</td></tr>
				<tr><td align="right">Policy </td><td><a href="#itemPolicy()">itemPolicy</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#addItem(BListItem*)">addItem</a>(BListItem* item);</td></tr>
				<tr><td align="right">BListItem* </td><td><a href="#addItem(const BString&)">addItem</a>(const BString& text);</td></tr>
				<tr><td align="right">BListItem* </td><td><a href="#addItem(Graph,const BString&)">addItem</a>(Graph graph, const BString& text = BString());</td></tr>
				<tr><td align="right">BListItem* </td><td><a href="#addItem(BIcon*,const BString&)">addItem</a>(BIcon* icon, const BString& text = BString());</td></tr>
				<tr><td align="right">BListItem* </td><td><a href="#addItem(BImage*,const BString&)">addItem</a>(BImage* image, const BString& text = BString());</td></tr>
				<tr><td align="right">BListItem* </td><td><a href="#addItem(BWidget*,const BString&)">addItem</a>(BWidget* widget, const BString& text = BString());</td></tr>
				<tr><td align="right">bool </td><td><a href="#insertItem(int, BListItem*)">insertItem</a>(int pos, BListItem* item);</td></tr>
				<tr><td align="right">BListItem* </td><td><a href="#insertItem(int, const BString&)">insertItem</a>(int pos, const BString& text);</td></tr>
				<tr><td align="right">BListItem* </td><td><a href="#insertItem(int, Graph, const BString&)">insertItem</a>(int pos, Graph graph, const BString& text);</td></tr>
				<tr><td align="right">BListItem* </td><td><a href="#insertItem(int, BIcon*, const BString&)">insertItem</a>(int pos, BIcon* icon, const BString& text);</td></tr>
				<tr><td align="right">BListItem* </td><td><a href="#insertItem(int, BImage*, const BString&)">insertItem</a>(int pos, BImage* image, const BString& text);</td></tr>
				<tr><td align="right">BListItem* </td><td><a href="#insertItem(int, BWidget*, const BString&)">insertItem</a>(int pos, BWidget* widget, const BString& text);</td></tr>
				<tr><td align="right">bool </td><td><a href="#removeItem(int)">removeItem</a>(int index);</td></tr>
				<tr><td align="right">bool </td><td><a href="#removeItem(BListItem*)">removeItem</a>(BListItem* item);</td></tr>
				<tr><td align="right">bool </td><td><a href="#removeItem(const BString&)">removeItem</a>(const BString& text);</td></tr>
				<tr><td align="right">void </td><td><a href="#clearItems()">clearItems</a>();</td></tr>
				<tr><td align="right">bool </td><td><a href="#containItem(const BListItem*)">containItem</a>(const BListItem* item) const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#containItem(const BString&)">containItem</a>(const BString& text) const;</td></tr>
				<tr><td align="right">int </td><td><a href="#itemIndex(const BListItem*)">itemIndex</a>(const BListItem* item) const;</td></tr>
				<tr><td align="right">int </td><td><a href="#itemIndex(const BString&)">itemIndex</a>(const BString& text) const;</td></tr>
				<tr><td align="right">int </td><td><a href="#spaceAt(const BPoint&)">spaceAt</a>(const BPoint& point) const;</td></tr>
				<tr><td align="right">BRect </td><td><a href="#spaceRect(int)">spaceRect</a>(int index) const;</td></tr>
				<tr><td align="right">int </td><td><a href="#itemCount()">itemCount</a>() const;</td></tr>
				<tr><td align="right">BListItem* </td><td><a href="#item(int)">item</a>(int index);</td></tr>
				<tr><td align="right">const BListItem* </td><td><a href="#item(int)">item</a>(int index) const;</td></tr>
				<tr><td align="right">BListItem* </td><td><a href="#item(const BString&)">item</a>(const BString& text);</td></tr>
				<tr><td align="right">const BListItem* </td><td><a href="#item(const BString&)">item</a>(const BString& text) const;</td></tr>
				<tr><td align="right">BListItem* </td><td><a href="#itemAt(const BPoint&)">itemAt</a>(const BPoint& point);</td></tr>
				<tr><td align="right">const BListItem* </td><td><a href="#itemAt(const BPoint&)">itemAt</a>(const BPoint& point) const;</td></tr>
				<tr><td align="right">BListItem* </td><td><a href="#itemOfName(const BString&)">itemOfName</a>(const BString& name);</td></tr>
				<tr><td align="right">const BListItem* </td><td><a href="#itemOfName(const BString&)">itemOfName</a>(const BString& name) const;</td></tr>
				<tr><td align="right">BListItem* </td><td><a href="#itemOfAsset(const BValue&)">itemOfAsset</a>(const BValue& asset);</td></tr>
				<tr><td align="right">const BListItem* </td><td><a href="#itemOfAsset(const BValue&)">itemOfAsset</a>(const BValue& asset) const;</td></tr>
				<tr><td align="right">BListItem* </td><td><a href="#itemOfWidget(const BWidget*)">itemOfWidget</a>(const BWidget* widget);</td></tr>
				<tr><td align="right">const BListItem* </td><td><a href="#itemOfWidget(const BWidget*)">itemOfWidget</a>(const BWidget* widget) const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#setItemSelected(BListItem*,bool)">setItemSelected</a>(BListItem* item, bool selected = true);</td></tr>
				<tr><td align="right">bool </td><td><a href="#setSelection(BListItem*)">setSelection</a>(BListItem* selectedItem);</td></tr>
				<tr><td align="right">bool </td><td><a href="#setSelection(const BListItemArray&)">setSelection</a>(const BListItemArray& selection);</td></tr>
				<tr><td align="right">const BListItemArray& </td><td><a href="#selection()">selection</a>() const;</td></tr>
				<tr><td align="right">int </td><td><a href="#selectedItemCount()">selectedItemCount</a>() const;</td></tr>
				<tr><td align="right">BListItem* </td><td><a href="#selectedItem(int)">selectedItem</a>(int index = 0);</td></tr>
				<tr><td align="right">const BListItem* </td><td><a href="#selectedItem(int)">selectedItem</a>(int index = 0) const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#clearSelection()">clearSelection</a>();</td></tr>
				<tr><td align="right">bool </td><td><a href="#scrollToItem(BListItem*,Align)">scrollToItem</a>(BListItem* item, Align align = Align_None);</td></tr>
				<tr><td align="right">bool </td><td><a href="#sortItems(int)">sortItems</a>(int dir = 1);</td></tr>
				<tr><td align="right">using </td><td><a href="#BScrollArea::query;()">BScrollArea::query;</a></td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#query(const BString&, BValue&)">query</a>(const BString& text, BValue& value) const;</td></tr>
			</table>
			<h2>protected</h2>
			<table id="protected">
				<tr><td align="right">virtual void </td><td><a href="#scrolling(Orientation)">scrolling</a>(Orientation orientation);</td></tr>
			</table>
			<h2>protected</h2>
			<table id="protected">
				<tr><td align="right">virtual void </td><td><a href="#styleEvent(const BEvent&)">styleEvent</a>(const BEvent& event);</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#freshEvent(const BEvent&)">freshEvent</a>(const BEvent& event);</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#paintEvent(const BEvent&)">paintEvent</a>(const BEvent& event);</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#mouseEnterEvent(const BMouseEvent&)">mouseEnterEvent</a>(const BMouseEvent& mouseEvent);</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#mouseLeaveEvent(const BMouseEvent&)">mouseLeaveEvent</a>(const BMouseEvent& mouseEvent);</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#mousePressEvent(const BMouseEvent&)">mousePressEvent</a>(const BMouseEvent& mouseEvent);</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#mouseReleaseEvent(const BMouseEvent&)">mouseReleaseEvent</a>(const BMouseEvent& mouseEvent);</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#mouseMoveEvent(const BMouseEvent&)">mouseMoveEvent</a>(const BMouseEvent& mouseEvent);</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#mouseClickEvent(const BMouseEvent&)">mouseClickEvent</a>(const BMouseEvent& mouseEvent);</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#mouseDoubleClickEvent(const BMouseEvent&)">mouseDoubleClickEvent</a>(const BMouseEvent& mouseEvent);</td></tr>
			</table>
			<div id="desc">
				<h2>详细介绍：</h2>
			</div>
			<h2 id="docs">成员文档：</h2>
			<div id="BListWidget(BWidget*)">
				<h3>BListWidget(BWidget* parent = 0);</h3>
			</div>
			<div id="BListWidget(const BString&,BWidget*)">
				<h3>BListWidget(const BString&amp; title, BWidget* parent = 0);</h3>
			</div>
			<div id="~BListWidget()">
				<h3>~BListWidget();</h3>
			</div>
			<div id="setOrientation(Orientation)">
				<h3>void setOrientation(Orientation orientation);</h3>
			</div>
			<div id="orientation()">
				<h3>Orientation orientation() const;</h3>
			</div>
			<div id="setSelectMode(SelectMode)">
				<h3>void setSelectMode(SelectMode selectMode);</h3>
			</div>
			<div id="selectMode()">
				<h3>SelectMode selectMode() const;</h3>
			</div>
			<div id="setItemSpacing(int)">
				<h3>void setItemSpacing(int itemSpacing);</h3>
			</div>
			<div id="itemSpacing()">
				<h3>int itemSpacing() const;</h3>
			</div>
			<div id="setItemPolicy(Policy)">
				<h3>void setItemPolicy(Policy itemPolicy);</h3>
			</div>
			<div id="itemPolicy()">
				<h3>Policy itemPolicy() const;</h3>
			</div>
			<div id="addItem(BListItem*)">
				<h3>bool addItem(BListItem* item);</h3>
			</div>
			<div id="addItem(const BString&)">
				<h3>BListItem* addItem(const BString&amp; text);</h3>
			</div>
			<div id="addItem(Graph,const BString&)">
				<h3>BListItem* addItem(Graph graph, const BString&amp; text = BString());</h3>
			</div>
			<div id="addItem(BIcon*,const BString&)">
				<h3>BListItem* addItem(BIcon* icon, const BString&amp; text = BString());</h3>
			</div>
			<div id="addItem(BImage*,const BString&)">
				<h3>BListItem* addItem(BImage* image, const BString&amp; text = BString());</h3>
			</div>
			<div id="addItem(BWidget*,const BString&)">
				<h3>BListItem* addItem(BWidget* widget, const BString&amp; text = BString());</h3>
			</div>
			<div id="insertItem(int, BListItem*)">
				<h3>bool insertItem(int pos, BListItem* item);</h3>
			</div>
			<div id="insertItem(int, const BString&)">
				<h3>BListItem* insertItem(int pos, const BString&amp; text);</h3>
			</div>
			<div id="insertItem(int, Graph, const BString&)">
				<h3>BListItem* insertItem(int pos, Graph graph, const BString&amp; text);</h3>
			</div>
			<div id="insertItem(int, BIcon*, const BString&)">
				<h3>BListItem* insertItem(int pos, BIcon* icon, const BString&amp; text);</h3>
			</div>
			<div id="insertItem(int, BImage*, const BString&)">
				<h3>BListItem* insertItem(int pos, BImage* image, const BString&amp; text);</h3>
			</div>
			<div id="insertItem(int, BWidget*, const BString&)">
				<h3>BListItem* insertItem(int pos, BWidget* widget, const BString&amp; text);</h3>
			</div>
			<div id="removeItem(int)">
				<h3>bool removeItem(int index);</h3>
			</div>
			<div id="removeItem(BListItem*)">
				<h3>bool removeItem(BListItem* item);</h3>
			</div>
			<div id="removeItem(const BString&)">
				<h3>bool removeItem(const BString&amp; text);</h3>
			</div>
			<div id="clearItems()">
				<h3>void clearItems();</h3>
			</div>
			<div id="containItem(const BListItem*)">
				<h3>bool containItem(const BListItem* item) const;</h3>
			</div>
			<div id="containItem(const BString&)">
				<h3>bool containItem(const BString&amp; text) const;</h3>
			</div>
			<div id="itemIndex(const BListItem*)">
				<h3>int itemIndex(const BListItem* item) const;</h3>
			</div>
			<div id="itemIndex(const BString&)">
				<h3>int itemIndex(const BString&amp; text) const;</h3>
			</div>
			<div id="spaceAt(const BPoint&)">
				<h3>int spaceAt(const BPoint&amp; point) const;</h3>
			</div>
			<div id="spaceRect(int)">
				<h3>BRect spaceRect(int index) const;</h3>
			</div>
			<div id="itemCount()">
				<h3>int itemCount() const;</h3>
			</div>
			<div id="item(int)">
				<h3>BListItem* item(int index);</h3>
			</div>
			<div id="item(int)">
				<h3>const BListItem* item(int index) const;</h3>
			</div>
			<div id="item(const BString&)">
				<h3>BListItem* item(const BString&amp; text);</h3>
			</div>
			<div id="item(const BString&)">
				<h3>const BListItem* item(const BString&amp; text) const;</h3>
			</div>
			<div id="itemAt(const BPoint&)">
				<h3>BListItem* itemAt(const BPoint&amp; point);</h3>
			</div>
			<div id="itemAt(const BPoint&)">
				<h3>const BListItem* itemAt(const BPoint&amp; point) const;</h3>
			</div>
			<div id="itemOfName(const BString&)">
				<h3>BListItem* itemOfName(const BString&amp; name);</h3>
			</div>
			<div id="itemOfName(const BString&)">
				<h3>const BListItem* itemOfName(const BString&amp; name) const;</h3>
			</div>
			<div id="itemOfAsset(const BValue&)">
				<h3>BListItem* itemOfAsset(const BValue&amp; asset);</h3>
			</div>
			<div id="itemOfAsset(const BValue&)">
				<h3>const BListItem* itemOfAsset(const BValue&amp; asset) const;</h3>
			</div>
			<div id="itemOfWidget(const BWidget*)">
				<h3>BListItem* itemOfWidget(const BWidget* widget);</h3>
			</div>
			<div id="itemOfWidget(const BWidget*)">
				<h3>const BListItem* itemOfWidget(const BWidget* widget) const;</h3>
			</div>
			<div id="setItemSelected(BListItem*,bool)">
				<h3>bool setItemSelected(BListItem* item, bool selected = true);</h3>
			</div>
			<div id="setSelection(BListItem*)">
				<h3>bool setSelection(BListItem* selectedItem);</h3>
			</div>
			<div id="setSelection(const BListItemArray&)">
				<h3>bool setSelection(const BListItemArray&amp; selection);</h3>
			</div>
			<div id="selection()">
				<h3>const BListItemArray&amp; selection() const;</h3>
			</div>
			<div id="selectedItemCount()">
				<h3>int selectedItemCount() const;</h3>
			</div>
			<div id="selectedItem(int)">
				<h3>BListItem* selectedItem(int index = 0);</h3>
			</div>
			<div id="selectedItem(int)">
				<h3>const BListItem* selectedItem(int index = 0) const;</h3>
			</div>
			<div id="clearSelection()">
				<h3>bool clearSelection();</h3>
			</div>
			<div id="scrollToItem(BListItem*,Align)">
				<h3>bool scrollToItem(BListItem* item, Align align = Align_None);</h3>
			</div>
			<div id="sortItems(int)">
				<h3>bool sortItems(int dir = 1);</h3>
			</div>
			<div id="BScrollArea::query;()">
				<h3>using BScrollArea::query;</h3>
			</div>
			<div id="query(const BString&, BValue&)">
				<h3>virtual bool query(const BString&amp; text, BValue&amp; value) const;</h3>
			</div>
			<div id="scrolling(Orientation)">
				<h3>virtual void scrolling(Orientation orientation);</h3>
			</div>
			<div id="styleEvent(const BEvent&)">
				<h3>virtual void styleEvent(const BEvent&amp; event);</h3>
			</div>
			<div id="freshEvent(const BEvent&)">
				<h3>virtual void freshEvent(const BEvent&amp; event);</h3>
			</div>
			<div id="paintEvent(const BEvent&)">
				<h3>virtual void paintEvent(const BEvent&amp; event);</h3>
			</div>
			<div id="mouseEnterEvent(const BMouseEvent&)">
				<h3>virtual void mouseEnterEvent(const BMouseEvent&amp; mouseEvent);</h3>
			</div>
			<div id="mouseLeaveEvent(const BMouseEvent&)">
				<h3>virtual void mouseLeaveEvent(const BMouseEvent&amp; mouseEvent);</h3>
			</div>
			<div id="mousePressEvent(const BMouseEvent&)">
				<h3>virtual void mousePressEvent(const BMouseEvent&amp; mouseEvent);</h3>
			</div>
			<div id="mouseReleaseEvent(const BMouseEvent&)">
				<h3>virtual void mouseReleaseEvent(const BMouseEvent&amp; mouseEvent);</h3>
			</div>
			<div id="mouseMoveEvent(const BMouseEvent&)">
				<h3>virtual void mouseMoveEvent(const BMouseEvent&amp; mouseEvent);</h3>
			</div>
			<div id="mouseClickEvent(const BMouseEvent&)">
				<h3>virtual void mouseClickEvent(const BMouseEvent&amp; mouseEvent);</h3>
			</div>
			<div id="mouseDoubleClickEvent(const BMouseEvent&)">
				<h3>virtual void mouseDoubleClickEvent(const BMouseEvent&amp; mouseEvent);</h3>
			</div>
		</div>
	</body>
</html>